package cn.hughie.type;

/**
 * @Author yuh
 * @Date Created in 下午10:32 2018/5/18
 * @Description
 */
public class Student implements SthWithKey {

    private int k;
    private String name;

    public Student(int k, String name) {
        this.k = k;
        this.name = name;
    }

    public Student() {
    }

    @Override
    public int key() {
        return k;
    }

    @Override
    public String toString() {
        return name + ":" + k;
    }
}
